package com.atguigu.yygh.sms.service;

import com.atguigu.yygh.vo.msm.MsmVo;

/**
 * @author zr
 * @date 2021/12/16 19:09
 */
public interface SmsService {
    /**
     * 发送验证码
     *
     * @param phone
     * @param code
     * @return
     */
    boolean send(String phone, String code);

    /**
     * mq发送短信
     * @param msmVo
     * @return
     */
    boolean send(MsmVo msmVo);
}
